package com.cmict.data.infra.convert.consulthistory;

import java.util.*;

import com.cmict.data.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import com.cmict.data.infra.controller.admin.consulthistory.vo.*;
import com.cmict.data.infra.dal.dataobject.consulthistory.ConsultHistoryDO;

/**
 * 咨询历史管理 Convert
 *
 * @author 系统管理员
 */
@Mapper
public interface ConsultHistoryConvert {

    ConsultHistoryConvert INSTANCE = Mappers.getMapper(ConsultHistoryConvert.class);

    ConsultHistoryDO convert(ConsultHistoryCreateReqVO bean);

    ConsultHistoryDO convert(ConsultHistoryUpdateReqVO bean);

    ConsultHistoryRespVO convert(ConsultHistoryDO bean);

    List<ConsultHistoryRespVO> convertList(List<ConsultHistoryDO> list);

    PageResult<ConsultHistoryRespVO> convertPage(PageResult<ConsultHistoryDO> page);

    List<ConsultHistoryExcelVO> convertList02(List<ConsultHistoryDO> list);

}
